package com.product.bargain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * 
 * @author brh
 * @email sunlightcs@gmail.com
 * @date 2022-03-10 18:46:48
 */
@Data
@TableName("bargain_activity")
public class BargainActivityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	private Integer bargainId;

	/**
	 * 商品编号
	 */
	private Long goodsId;
	/**
	 * 商品名称
	 */
	private String goodsName;
	/**
	 * 开始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date starttime;
	/**
	 * 结束时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date endtime;
	/**
	 * 商品原价
	 */
	private Double goodprice;


	/**
	 * 商品低价
	 */
	private Double lowprice;
	/**
	 * 需砍多少刀
	 */
	private Integer knife;
	/**
	 * 一刀最多砍多少钱
	 */
	private Double knifemoney;
	/**
	 * 互动描述
	 */
	private String content;

}
